Online IVR Tutorial srAudio ( <type> )
Parameters Return Value Remarks
  • Function ends the play back when any sound is heard(type=0); audio play back ceases when the initial phrase is recognized(type=1); discontinue playing back when recognition is complete(type=2).
  • Default value is 2, i.e., when recognition is complete.
Example